package com.qfedu.service;

import com.qfedu.entity.TQuestion;

import java.util.List;

public interface TQuestionService {

    /**
     * 添加笔记
     * @param
     * @return
     */
    int addQuestionNote(TQuestion tQuestion);

    /**
     * 添加代码
     * @param question
     * @param answer
     * @return
     */
    int addQuestionCode(TQuestion tQuestion);

    /**
     * 新增资源
     * @param tQuestion
     * @return
     */
    int addQuestion(TQuestion tQuestion);

    /**
     * 资源库
     * @return
     */
    List<TQuestion> getAllQuestion();

}
